package com.qf.dto;

import com.qf.pojo.Student;

public class StudentDto {

    private Student student;
    private String sex;
    private String hobbies;

    public StudentDto() {
    }

    public StudentDto(Student student, String sex, String hobbies) {
        this.student = student;
        this.sex = sex;
        this.hobbies = hobbies;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHobbies() {
        return hobbies;
    }

    public void setHobbies(String hobbies) {
        this.hobbies = hobbies;
    }

    @Override
    public String toString() {
        return "StudentDto{" +
                "student=" + student +
                ", sex='" + sex + '\'' +
                ", hobbies='" + hobbies + '\'' +
                '}';
    }
}
